home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / EmptyLines.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  2.2 KB  |  95 lines

  1. object SyntAnal3: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Marked block'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clHighlightText
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.       BgColor = clHighlight
  20.       FormatType = ftColor
  21.     end
  22.     item
  23.       DisplayName = 'Empty line'
  24.       Font.Charset = DEFAULT_CHARSET
  25.       Font.Color = clWindowText
  26.       Font.Height = -13
  27.       Font.Name = 'Courier New'
  28.       Font.Style = []
  29.       BgColor = clTeal
  30.     end
  31.     item
  32.       DisplayName = 'Lines with text'
  33.       Font.Charset = DEFAULT_CHARSET
  34.       Font.Color = clWindowText
  35.       Font.Height = -13
  36.       Font.Name = 'Courier New'
  37.       Font.Style = []
  38.       BgColor = clInfoBk
  39.     end>
  40.   TokenRules = <
  41.     item
  42.       DisplayName = 'Empty line'
  43.       StyleName = 'Empty line'
  44.       Expression = '^\s*?\n'#13#10
  45.       ColumnFrom = 0
  46.       ColumnTo = 0
  47.     end
  48.     item
  49.       DisplayName = 'Non empty'
  50.       TokenType = 1
  51.       Expression = '^.*'#13#10
  52.       ColumnFrom = 0
  53.       ColumnTo = 0
  54.     end>
  55.   BlockRules = <
  56.     item
  57.       DisplayName = 'Non Empty start'
  58.       StyleName = 'Lines with text'
  59.       BlockName = 'Non Empty start'
  60.       NotParent = True
  61.       ConditionList = <
  62.         item
  63.           TokenTypes = 2
  64.         end>
  65.       BlockEnd = 'Non Empty end'
  66.       Highlight = True
  67.       InvertColors = True
  68.       DisplayInTree = False
  69.       DynHighlight = dhRange
  70.       HighlightPos = cpAny
  71.       IgnoreAsParent = False
  72.     end
  73.     item
  74.       DisplayName = 'Non Empty end'
  75.       BlockType = btRangeEnd
  76.       ConditionList = <
  77.         item
  78.           TokenTypes = 1
  79.         end>
  80.       BlockOffset = 1
  81.       HighlightPos = cpAny
  82.       IgnoreAsParent = False
  83.     end>
  84.   CodeTemplates = <>
  85.   SubAnalyzers = <>
  86.   TokenTypeNames.Strings = (
  87.     'Empty'
  88.     'Text')
  89.   MarkedBlockStyle = 'Marked block'
  90.   DefaultStyleName = 'Default'
  91.   LexerName = 'Empty lines'
  92.   SkipSpaces = False
  93.   Internal = True
  94. end
  95.